package com.example.administrator.basedemos.dagger2;

/**
 * 创建者     ZCL
 * 创建时间   2018/3/23 16:27
 * 描述	      ${TODO}
 * <p>
 * 更新者     $Author$
 * 更新时间   $Date$
 * 更新描述   ${TODO}
 */

public class UserManger {
    private Apiservice mApiservice;
    private UserStore  mUserStore;

    public UserManger(Apiservice apiservice, UserStore userStore) {
        this.mApiservice = apiservice;
        this.mUserStore = userStore;
    }
/*
    public UserManger(Apiservice apiservice) {
        this.mApiservice = apiservice;
    }*/

    public void register() {
        if(mApiservice!=null)
        mApiservice.register();
        if(mUserStore!=null)
       mUserStore.register();


    }
}
